#ifndef MOVER_H_TSMM4XV6
#define MOVER_H_TSMM4XV6

#include <stdlib.h>
#include "util/vec3f.h"

class Mover {
protected:
    Vec3f myPos;
    Vec3f myVel;
    
public:
    Mover() {
        
    }
    
    virtual void draw() {}
    
    virtual void move(GLfloat x, GLfloat y, GLfloat z) {
        Vec3f toMove(x, y, z);
        myPos += toMove;
    }
            
    virtual void update() {
        // Update own position with own velocity
        myPos += myVel;
    }

    virtual Vec3f getPosition() const {
        return myPos;
    }
};

#endif /* end of include guard: MOVER_H_TSMM4XV6 */
